-
Notifications
You must be signed in to change notification settings - Fork 277
DOC-4942 ioredis migration docs #1260
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
dwdougherty
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a few things to consider, but thus far, looks good to me.
| `node-redis` supports only `Promise` objects for results, so | ||
| you must always use a `then()` handler or the | ||
| [`await`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) | ||
| operator to receive them. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just wondering if await should be used for examples that return promises. Not a JavaScript guy (but I play one at work), so just thinking out loud.
DOC-4942
Currently a work in progress - all suggestions welcome :-)
In particular:
pipeline()and replace them withmulti()...execAsPipeline()).